Second-ranked Virginia rallied twice from two-run deficits, but Michigan scored the game-winning run on a walkoff error.