NHS transgender clinic for children to close down, with at least 1,000 people threatening legal action