Madagascar's ruling party loses parliamentary majority