Judge: ‘This was an attempt to stuff the ballot box;’ developer walks away from voting battle