application of Canada-US treaty to a Canadian corporation that is a deemed U.S. resident under the anti-inversion rules