CAIRO — On Oct. 1, 2017, the submarine S-42 set sail from the ThyssenKrupp shipyard in Kiel, northern Germany. The fourth of four submarines ordered by the Egyptian government since the start of the Arab spring — at a cost of 1.4 billion euros — quietly passed through the Kiel Canal to the port city...