Republican state officials are celebrating the order as a “massive win,” saying it blocks the rule nationwide.