dalvik: fix a bug in redundant branch elimination

Change-Id: I098db3254ac4ef06f1becd107a2bf244d891625e