Egypt's al-Sisi resigns, to run for president