You can’t remove people’s negative bias by passing laws. You can only limit the damage done by these biases.
Part of the argument here is that diversity itself has value, so that all other things equal the diverse choice is superior not just as a reparation but functionally as well.