If you have tph, boot zelda and put TP-WM-loadmii-dol.zip on your formated sd-card. Put the bad wad in sd:\wads. Then run tph and uninstall it with wadmanager.
it uses ios36
it uses ios249
If you don't have the wad, try to use any title deleter mod, just add the dol to the loadmii sd card and boot it with tph.