Schools to be told to allow changing gender