fix instruction scheduler

This fixes a serious bug deep in the instruction scheduler when doing multiprecision shifts. It also affects dmc, which I shall fix.