Morales's resignation leaves behind a political vacuum the country may struggle to fill.