UK gov't loses working majority in parliament