Romania's ruling PSD party loses majority after ally quits