A trustee is entitled to the repayment out of the trust property for the following:
(a) Expenditures that were properly incurred in the administration of the trust.(b) To the extent that they benefited the trust, expenditures that were not properly incurred in the administration of the trust.