Polish government loses majority in parliament