The agreement resolves 15 complaints brought by Calpine, Energy Harbor, Talen Energy and others that could have become “mega-litigation” taking years to resolve, the parties said.