The provisions of AS 10.06.358, 10.06.360, 10.06.363, and 10.06.365 do not apply to a purchase or redemption of shares of a deceased shareholder from the proceeds of insurance on the life of the shareholder in excess of the total amount of all premiums paid by the corporation for the insurance, in order to carry out the provisions of an agreement between the corporation and the shareholder to purchase or redeem the shares upon the death of the shareholder.