The right of offset is governed by state statute, state court decisions, and the terms of your contracts. While it's clear that once the merger is complete, the "unity" of debtor and creditor will be established, no one but your bank's attorney should be comfortable in telling you to proceed.
Regardless, I like the way you think.