[Morello] Enable global merging for purecap.
Based on the merge-globals branch, but no longer deriving non-safe globals from the merged global (removing it actually improves performance and reduces complexity). We could still attempt to derive from the merged global, but I think this needs to be done post MachineLICM.