If, at any village election, there shall be no choice between candidates by reason of two (2) or more persons having received an equal number of votes, and a failure to elect to any office is caused thereby, the election of the office shall be determined by lot as provided by the law.