intel/fs: Improve discard_if code generation
The first three patches test and fix some problems with cmod_propagation handling when multiple flag registers are involved.
The next two add and adjust some small bits of infrastructure.
The last patch changes the way discard_if
is generated.