Republicans have long opposed the $7,500 federal tax credit for electric vehicles contained in the Inflation Reduction Act.