Grant Township in Pennsylvania, a town of 600, was sued three times by an energy company and the state’s department