Experts said three bills would have raised power prices, hurt reliability and reduced investment. Oil and gas producers were part of a broad coalition in opposition.