The company said ongoing environmental lawsuits are the main reason it scrapped plans for a gas-fired electric-generating facility in Pennsylvania.