[dfsan] Move combineShadows to DFSanFunction in preparation for it to use a domtree.