Fix deduplication bug.

Extractions were being aggregated for each slot and deduplicated. Some patterns have identical solr queries but different postprocessing, causing valid results to be thrown away before the postprocessing step. This changes deduplication to happen on a per-solr-query basis.