One of the purposes of cPanel is to give you indirect, controlled access to httpd.conf. For this reason, I doubt you'll find a script to do this. I would recommend asking your host about this problem. You might end up backing up all the subdomain folders you want to keep, and then deleting everything and restoring the backup -- that might be faster. But ask your host first.