The only way to stop an oracle is either to counter it or to Stifle its triggered ability.
Any way of invalidating the win condition will work - but indeed, removing Thoracle itself doesn't do that. It will lower devotion, but usually when you Thoracle you have an empty deck so a devotion of zero is usually enough. However, an instant-speed way to put cards back into someone's library would work.
Typically, this means shuffling their graveyard - there's that new green flash creature, and
Learn from the Past, etc. Feasibly, you could also e.g. put a creature on their library (and also lower devotion -
Repel or similar on Thoracle itself ought to work, actually. At least for a turn, anyway... and if they have no other devotion).I
Or, of course, you could win at instant speed yourself!