(a) In all cases of mutual debts or mutual credits between the insurer and another person in connection with any action or proceeding under this article, the credits and debts shall be set off and the balance only shall be allowed or paid, except as provided in subsection (b), below.
(b) No setoff may be allowed in favor of any such person where:
(1) The obligation of the insurer to the person would not at the date of the entry of any liquidation order or otherwise, as provided in section twenty-five of this article, entitle him or her to share as a claimant in the assets of the insurer;