The federal Education Department says the move may violate Title IX, which prohibits discrimination on the basis of sex.