[llvm] Fix the handling of moves in the LICM optimization.