The ruling blocking arrests in immigration courts nationwide stymies one of the Trump administration’s strategies for carrying out mass deportations.