If they are unmountable, consider simply deleting them then re-creating the arbitration mailboxes on a new, clean database when you mount it.
https://learn.microsoft.com/en-us/exchange/architecture/mailbox-servers/recreate-arbitration-mailboxes?view=exchserver-2019
If ALL the user mailboxes are moved to 365, then all you need is those arbitration mailboxess.