Fix VirtRegMap to use TRI::index2VirtReg and TRI::virtReg2Index instead of