Justice Clarence Thomas dissented from the order, while two other conservative justices said private parties could still enforce the law.