Uniqify tags when merging dependencies
ghostscript: use optional dep for x11
Yield correct dependent when expanding requirements
Note which formula's requirements failed

Closes #20713.