St. Paul cannot adopt overly restrictive egress windows policy, court rules