Change the way unused regs. are marked and found to consider regType