Remove redundant submodules