Section 9. The department shall provide for the decent final disposition of all deceased persons who are at the time of death recipients of aid or assistance under this chapter, all deceased persons who, although without means of support at the time of death, did not apply for such aid or assistance and all unknown persons found dead. The commonwealth may recover this expense from any legally liable family members in the manner provided in this chapter, and if such family members do not pay this expense, the commonwealth shall pay an amount not exceeding $1,100 to the funeral establishment if the total expense of the funeral and final disposition does not exceed $3,500. The commonwealth shall have the right of reimbursement from whatever resources may exist in the estate of the deceased person.