a year-end income allocation by a non-resident partnership to an immigrant included offshore capital gains realized pre-immigration