If only some had survived, the ship might have been repaired."
The ship may have been repaired if there had been survivors.