This law was created in 1968 IIRC. Ghettos still exist today, in 2018, 50 years laters. It seems to me the law is not doing anything.
Because American culture has a tendency to exclude certain groups, and allowing that to go too far in vital markets like housing and labor is bad for social stability.