ruling party loses parliamentary majority