fix script debugging with not-executed OP_IF branches