implement rb_hash_delete_if()