Here's the trick.

Create a manual check which brings the balance down to zero for that vendor. Use check #99999 or some other fake check number.

Change the account set.

Now reverse the manual check. It will make all of the invoices outstanding again.

Steve