Fix scoping of map updates in the debugger and erl_eval

@josevalim