The measure, passed by the House, would roll back incentives for people to buy electric vehicles and for automakers to make them in the U.S.