Delete unused submodules.