Try using the RM Transaction Unapply tool, bring the transactions back to Open, run Reconcile against the Customer then apply the transactions back.
Another approach is to run an update script against the transactions involved, zero out the current transaction amounts, then run Paid Transaction Removal. This should move the payment to history. I recommend doing this on a test company though before you apply it to the live database.