No. They shouldn't ban a woman wearing whatever she want on her head, regardless if it is for a religious reason or not.
This is not just a discrimination against religion, it is a discrimination against all women.
If a woman shaved off all her hairs on head, for religious reason, would they ban her too?
When does the discrimation end?
But at the same time, I can also understand as to the motive of the government wanting to ban women from wearing veils.
Some women and girls are forced to wear veils because of the men in their families (husbands, fathers, uncles or brothers) or because of the (Muslim) community. When that happened, then the wearing of veils are not voluntarily, which would mean that (some) Muslim men are oppressing them.
But what happens, if it is voluntary, and it is the Muslim woman's choice to wear one? If that's the case, then it is the French government who are oppressing the women.
And beside all that, can the French government really deny women higher education, just because of headgear they wear? Wouldn't they be acting like the Talibans who deny girls any form of formal education?