Michigan went on a late run to take down No. 18 Purdue.