Twelve towns failed to comply with the MBTA Communities Act. Now they face legal threats, lost funding, and deep uncertainty.