I don't think there's an automatic way, you'll need to find and delete the file, then remove the links yourself. We do have plans to improve asset handling in the future which will make this easier.
https://docs.dendron.so/notes/WCZ1LzhM07Om3KFPERk6l/