Maybe I'm missing something here. What did you do on your last turn that let you win? Buying the estates was the right move (just shuffled, game likely won't another shuffle, as long as you get four estates you have to win so that forces him to hit two markets on each of his next two turns) but technically even if you hadn't bought them you'd still have tied because he went first.