debugger: logical error in int:i2/3

In the original code, the Acc parameter would always be 'ok' and
the case expression would be useless. Acc should track if there is
an error returned from int_mod, so Res is the right value to check.