Stefan Lofven loses a vote of confidence weeks after an election which saw a far-right surge.