President Trump has attacked Justices Neil Gorsuch and Amy Coney Barrett for voting to strike down his most sweeping tariffs.