Reduce cost of row operations in QR

It is not obvious how to get similar optimisations into the Q'B
operation without allocation, so I'm leaving that.