School distract bans boys in girls bathrooms and sports, reversing previous policy