fixed a wrong register allocation in toDex in cases in which the IdentityStmts in a Jimple body were not in a linear increasing order - an assumption toDex shouldn't make anyway