Judge rules the measures unlawfully trapped large numbers of immigrants in prolonged legal uncertainty.

A federal judge has ruled against the extreme anti-immigration policies Trump instituted last fall.

According to the judge, many affected individuals had spent more than six months without legal status, employment authorization or any certainty about their future in the United…