Caleb Ewan won his second stage of the Tour with a thrilling sprint, after Jakob Fuglsang crashed out