A federal judge directed the Trump administration to restore the legal status of migrants allowed into the U.S. under a now-defunct Biden administration program for asylum-seekers who arrived at the southern border.