Shapiro and Garrity set to advance to gubernatorial election