A court has allowed the Trump administration to remove Temporary Protected Status for Afghans and Cameroonians.