Revert "Reuse CompactBuffer in UniqueKeyHashedRelation."

This reverts commit 97626a1a6fceceb202c4a076fb4b8a30e2a75d37.