Mexico election comes to bloody end as local candidate killed