Avoid adding a null export by unifying existing "done" exports
in the unified exit block of a shader with divergent exits.
If multiple incompatible "done" exports exist then they cannot be
unified and a null export is inserted, and "done" bits cleared.
Note: all existing front-ends emit a single export done so this
should not happen in practice.