The left-right duel to replace conservative leader Guillermo Lasso comes after a chaotic campaign marred by violence.