Only update declared methods during class redefinition.

We were attempting to update the dex file indexes of copied methods
during class redefinition. Since these methods are not in the
redefined (or even original, necessarily) dex file this causes CHECK
failures.

Bug: 63864937
Test: ./test.py --host -j50
Change-Id: Ieb3a7bde42ef9da651810094e7b8143e2dba9f61
12 files changed