Treasury’s decision to withhold funding to a raft of municipalities is not about punishment, but about restoring accountability