Fix of left hand side of assignment variablization

It was using the right hand side type.