Nonresident alien partner’s gain on inventory items sourced to US