It stripped the needles from fir and spruce trees across most of northern Maine, killing 7 million acres of trees and costing the state’s forest economy hundreds of millions of dollars.