Top US court agrees to hear affirmative action challenge