A resident married to a nonresident or part-year resident and filing jointly