Consolidation plan fails at referendum