PEI: refactor replaceFrameIndices(MF) to call replaceFrameIndices(BB).