Federal court in Massachusetts rules that sweeping suspension of wind-energy permits by multiple federal agencies violated federal law