fix deletion of partitioned tables

* when the WHERE clause had no match all partitions were deleted
Merge pull request #1217 from crate/m/delete_partition_fix

fix deletion of partitioned tables