If the tax or any part thereof is paid by, or collected out of that part of the estate passing to or in the possession of, any person other than the executor or administrator in his capacity as such, such person shall be entitled to reimbursement out of any part of the estate still undistributed or to a just and equitable contribution by the persons whose interest in the estate of the decedent wou