Trump admin broke law with visa delays for Afghans, Iraqis who worked for U.S., judge rules