Corruption is a moral issue that exists besides the law. If the payment occurring produces no net benefit then I see no reason to consider it just.
These problems seem complex and may truly be, but if they lead to payment for nonperformance then that needs to be addressed. I expect the market can figure it out from there.