cmm/CBE: Use foldLocalRegsDefd