The US Treasury Department signaled some imported cars will qualify for electric-vehicle tax credits in the Inflation Reduction Act, a move that could assuage Asian and European allies’ concerns about the sweeping climate legislation.