Implementation of Dict.pop (proposal #856 for Dict)