A small boat — crammed with two dozen migrants — sputtered in the Mediterranean Sea as the motor cut out. It sat helplessly for an hour-and-a-half until, amid nightfall, a voice called out for help when another ship came close.