Legal groups took action and a federal judge temporarily blocked the administration from using the law for deportations.