You can't uninstall the greyed out app icons because the actual app is not installed.
Im guessing without the app directory the device storage info inaccurately desplays 0.00 B. Pop in the sd card , transfer the app to internal, pull the card and I'll bet you see app data and catche data once again. This is because app data is stored in internal memory even when the app itself resides in the external sd.
Ok, If all you wish to do is get ride of the greyed out icons then provided your Android has the functon to hide apps you should do just that
Compare the first screen shot to the one below. You'll notice the greyed out icons are no longer visible within the app drawer.
However, the app data is still going to reside in internal memory and thereby taking up space. If you plane on remounting the card in the future youll have all your app data aswell.
However, if you want to permanently delete the app, greyed out icons and all its data, short of a factory reset, then youll have to remont the external sd and move the remaining apps back to internal storage. Once all the apps are back in internal storage, I recommend using Super App backup if you intent to reinstall them on your new phone (make sure you back up to externsl sd , It needed to be enabled with Super App backup settings). After you backup your apps then delete the apps from your old phone, install Super Backup on your new phone and simply reinstall your backups.
https://play.google.com/store/apps/details?id=com.idea.backup.smscontacts