The PPL Corporation has agreed to sell three of its dams on Maine’s Penobscot River to the state and federal governments, conservationists and the Penobscot Nation for $25 million. More than 500 miles of habitat will be opened to the endangered Atlantic salmon whose numbers have dramatically dwindled since the dams’ construction.