A federal appeals court has sided with the University of Texas (UT) to allow the school to consider race in undergraduate applications in order to promote diversity on campus.