rsons who would be classified as transferees under class AA, A or B as provided in section 12-344, whether or not such persons are in fact beneficiaries or distributees of the decedent, any transfer of an interest in such partnership, corporation or trust to anyone other than a beneficiary or distributee in class AA, A or B as provided in section 12-344 shall be treated in the same manner for purp