vppinfra: fix mhash oob after unset and add tests