Fix bug #364900, properly remove the 64kB that was just encoded in the copy. Also, stop supporting None as a copy length in 'encode_copy_instruction'. It was only used by the test suite, and it is good to pull that sort of thing out of production code. (Besides, setting the copy to 64kB has the same effect.)