If black girls don't feel comfortable learning with people who aren't, how are they going to cope with a job in the currently white-male dominated industry anyway? Sheltering people doesn't seem like good preparation for reality.
I don't think we should necessarily expect children to be able to cope with the range of social situations that we expect adults to handle.
Another view is that private groups should be able to do whatever they want, and discrimination is only a problem when it's a problem. If "black girls" grew to dominate the industry or significantly change things, then it's become problematic. Obviously that's a rather subjective measurement hence all the "debate".