rework CacheWriter writeAll() and deleteAll() to permit partial success

The cast could be to `Set<K>`.
In any case, it is a leap of faith as we cannot rely on the type system for it and users can put what they want in the `BulkCacheWriterException`.