A French official has sparked outrage after she compared Muslim women who wear veils to "Negroes who were in favor of slavery."