Evolutionary stability in repeated extensive games played by finite automata