Trump administration violated a court order on deportations, judge says