insert ')' if last is ')' and unbalanced parens