Use batched deletes for flushdb with a namespace

If you have a lot (e.g. 300_000) of keys in a namespace,
Redis::Store#flushdb will abort with an exception:

SystemStackError: stack level too deep

This patch addresses that issue by deleting the namespaced keys in
batches of 1000.