add assert before write khash del flags
revert 40eaf705 for performance reason; ref #2022
Merge pull request #2036 from ksss/assert-kh_del

add assert before write khash del flags
kh_put in khash.h should work when direct bucket is deleted one
revert b45e99 since a bug in khash.h was fixed