[TailDuplicator] Fix copy instruction emitting into the wrong block.
The code for duplicating instructions could sometimes try to emit copies
intended to deal with unconstrainable register classes to the tail block of the
original instruction, rather than before the newly cloned instruction in the
predecessor block.
This was exposed by GlobalISel on arm64.
Differential Revision: https://reviews.llvm.org/D64049
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@364888
91177308-0d34-0410-b5e6-
96231b3b80d8