Don't clear js.afterOp in WriteExit*().

It needs to be handled in each exit, not just the first one.

Fixes #5587.
Merge pull request #5592 from unknownbrackets/debugger

Don't clear js.afterOp in WriteExit*()