The U.K. prime minister has lost his ruling majority in Parliament, effectively making him a lame duck prime minister.