CPS transformer: Extract the variable hoisting