State claws back $6.2M in federal money from towns, redistributes it