T.J. Warren scored 39 points, including seven straight to put Indiana ahead in the final two minutes.