(b) that portion of a net taxable capital gain of the trust that may reasonably be considered i. to be included in an amount included in computing the income for the year of a beneficiary of the trust under any of sections 661 to 663 if the beneficiary is not resident in Canada, or
ii. to have been paid in the year by a trust governed by an employee benefit plan to a beneficiary under that plan.