It looks like you did everything correctly to detach and delete the audio, and export the project. I can't explain why the deleted audio reappears in the exported movie. That being the case, iMovie is not working correctly.
Try deleting preferences. To delete preferences, open iMovie while holding down the Option and Command keys and select to delete preferences in the box that appears. iMovie will open in a new library. Reopen your old library to get back to your projects. Then export some test videos to see if the deleted audio remains deleted in the final product. Deleting preferences is a safe procedure that will not cause data loss or disruption to your project.
You could also try booting up in Safe Mode (see Finder menu for instructions) and, after everything loads, immediately shut down and reboot in normal mode. Then see if iMovie works properly.
If none of the above solves it, try the following diagnostic procedures.
Updating iMovie
To update/redownload iMovie 10, drag your iMovie 10 app from the Applications folder into the trash, but do not empty the trash. Sign in to the app store and open your purchases folder by clicking on your name at the bottom of the app store side bar. You will see your purchases displayed, including iMovie 10. Redownload/update iMovie from there. If not successful, drag your present iMovie app out of the trash and return it to the Applications folder.
Resetting the System Management Controller
Try resetting the System Management Controller (but no longer available for the new M1 computers):
How to reset the SMC of your Mac - Apple Support
-- Rich