Fixes for MachineLoopInfo, mostly from Evan. With these, it should be almost useable!