Post if clearing is equal is not working on AP Payments
We gave a deeper review to this option and this is wrong to be implemented.
Payments must always post, otherwise it can create bad accounting practices, for example if a payment without allocation or charge is created and the two accounts are configured the same. In this case the payment would not post anything and later the allocation will post it, but this potentially will be in a posterior period.
So, reverting back the two commits from this ticket.