Family ‘devastated’ after daughter told she cannot stay on children’s ward