Four years ago, Andrej Babiš seemed to be on his way out of Czech politics. His ANO (YES) movement had been defeated, and he was expected to quit.