update delete/pop semantics for JuliaLang/julia#3439