Wrap lirNodeToMachineInst in the M monad.