If after the nominations for an election for any district have been declared, and before 6 pm on polling day, any candidate dies, the election shall be deemed to have wholly failed, and a new writ shall forthwith be issued for an election for the district.

