Without qualifying any other statutory right to setoff or lien and subject to any contractual provision, if a party is indebted to a financial institution, the financial institution has a right to setoff against the agency account. The amount of the agency account subject to setoff is the proportion to which the party is, or immediately before death was, beneficially entitled or, in the absence of proof of that proportion, an equal share with all parties.