Legislators are extending the Cap-and-Trade program, paid for by its biggest industrial polluters, that will provide $1 billion a year in new funding through 2045.