The order freezes state-mandated compliance measures ahead of a July 23 preliminary injunction hearing