Magnus Cort Nielsen secured his first Tour de France stage win while Geraint Thomas kept hold of his yellow jersey for another day at least