Lofven becomes 1st Swedish premier to lose such a vote, giving him a week to decide if he'll call snap election; political upheaval triggered by plan to deregulate rental market