In a landmark ruling, the Supreme Court set new limits on affirmative action programs in cases involving whether colleges and universities can use race as a factor in student admissions.