Catalyses the transfer and decarboxylation of the carboxy(hydroxy)phosphoryl group, HOOC-P(O)(OH)- (phosphoryl being a 3-valent group), in the formation of an unusual C-P bond that is involved in the biosynthesis of the antibiotic bialaphos.