Make stepi work correctly for executed syscalls.

Resolves #212.

That was quite a lot of effort for such a small fix :).