Whenever a debtor of a deceased person is unable to pay all his debts, an executor or administrator, by an order of the court, may compound with him and give him a discharge upon receiving a full and just proportion of his effects. If such compounding is procured or produced by the fraudulent representations or conduct of the debtor, such payment shall only operate to discharge a like amount of the debt.