Underwater Robot Path Planning in an Intermittent Communication System