Svenskarna låg högt upp till sista varvet då Johannes Høsflot Klæbo spurtade hem segern.