Fix esil_if() and simplify stackdump output