Remove the assumption that the instruction just after an emulated syscal...

...l is idempotent.

Resolves #1252.

All the credit goes to @rocallahan for the diagnosis; the fix was almost trivial!

@rocallahan do you any better ideas than this fix?