The major policy shift comes days before President Trump will announce his pick to replace Supreme Court Justice Kennedy, who upheld affirmative action.