Ecuador chooses president during wave of violence