Regression test for issue 1789
Fix for #1789. Use rdb_value_non_deleter_t instead of rdb_value_deleter for sindex operations.