Morales leaves a country struggling to fill a power vacuum after resigning in the wake of a disputed election.