Method to delete an item on a predicate.