quicker release of arena after ensure calls
always clear ci->err
pop ensure stack before execution; close #1638