[pmc] rpa refactor delete_keyed_int, add tests

also prepare do_unshift optimization, add slack offset if slow