who resigned the presidency of egypt as a result of arab spring demonstrations