Reverting "Remove redundant DuplicateCounter code that expects some old
behavior."

This is actually necessary to handle mispartitioned transactions in the
duplicate counter. Will find a better approach to send back the responses.

This reverts commit c15a1e2f1037f9ec4202d0dc0eba0bc60654c10e.