HPCC-12183 Component Cleanup with HPCC-12093 dependencies

re-target from master to candidate-5.0.4
The content of the failure messages isn't really my code, but I have opened up a jira on something related to that https://track.hpccsystems.com/browse/HPCC-12335.  I was planning on making changes to the failure messages in my PR for 12335.