Top-ranked Arizona escapes close call at Michigan