The New England Clean Energy Connect project through western Maine faced years of political and legal opposition.