All funds in the treasury of any such fire district at the time of consolidation shall be applied to the payment of any outstanding indebtedness, including bonded indebtedness, of such fire district.