How exactly do you stain a bloodline by marrying outside of your clan when you are the only member of your clan left? You kind of have no choice but to either marry outside of the clan or just let the clan die out with your own passing. I think Sasuke did the right thing.