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