This is an upstream AOSP issue, and based on reports I've heard, the files go away by themselves after a few days, so the issue should take care of itself without any manual intervention being required.
Anonymous The Files app cannot be uninstalled via adb, after being replaced with an equally or more functional Files app? I've done it on a device before without any negative impact on the system or functionality. It had to be installed and made default, though, before deleting the stock app.
I would absolutely not recommend deleting any system app with ADB. You will also notice that the files app cannot be disabled via the regular user UI. There's a reason for that. documentsui (the AOSP files app) is used by apps and the system in general for when the file manager needs to be called to select files for apps as part of the storage access framework. You are extremely likely to break the OS by removing that app. If you want another files app because you prefer its UI or features, you're fine to install another one, but please leave the installed one alongside it.