Robert Mugabe resigned as Zimbabwe's president on Tuesday, shortly after parliament began an impeachment process.