How to mass merge topics into parents for a Yahoo Groups import?

It sounds to me like you are at a crossroads. You have to decide how important it is for you to have these old yahoo messages correctly and tidily contained within one topic.

If it is important, my suggestion would be to go back a step and fix the mbox files. And then import them in carefully prepared small batches.

The best way to do this is probably to import them to mozilla thunderbird and fiddle with them there. Each thunderbird folder is its own mbox file, so you could move all related messages into one folder and then open up that mbox file in a text editor and do a search and replace to correct the message id, which is used by the importer to determine which belong together in one topic.

Really the best solution is to go back in time and convince the programmers who created outlook to try a bit harder to follow prevailing email standards.