Egypt’s transport minister resigned on Wednesday following a deadly train crash in Cairo that killed at least 25, a cabinet statement said.