Improve OHToUInt performance
Make Op type immutable
Support wide division in C++ (slowly)

This also cleans up the emulator a bit.
Support more cases of in-place subword updates
Add per-module stats to --reportDims