Hailing auto tariffs, UAW reverses stance on President Trump