Scaling physics-informed hard constraints with mixture-of-experts