The ruling eliminates the final legal obstacle to construction of the 145-mile transmission line in western Maine.