SEGA DI ALA, Italy—Ireland’s Dan Martin completed a hat-trick of grand tour victories when he prevailed in the 17th stage of the Giro d’Italia as overall leader Egan Bernal showed his first sign of weakness on Wednesday. Israel Start Up Nation rider Martin led from the breakaway in the 193-km mountain ride from Canazei to…