Didi Gregorius to undergo Tommy John surgery