Implements prune_empty_list and prune_zero options for Dict::prune(...)