The landmark decision strikes down decades-old policies defended as a way to boost diversity.