Add missing comparisons to make list IDs in EXTENDED COPY per-initiator,
as they should be.  Wrap it into a function to not duplicate the code.

MFC after:	3 days

(cherry picked from commit 621e857f016314f37561a84bc858e457faec445e)
Fix some bugs in RECEIVE COPY STATUS data.

MFC after:	3 days

(cherry picked from commit 4fc98f231b1b8ba5ab1e924eaf5e8efa413b8594)
Plug EXTENDED COPY request data memory leak.

MFC after:	3 days

(cherry picked from commit 08754442644626ea6b6404172789ee3111033708)