This removes all orphaned project and namespace routes from the "routes" table. This is in as a preparation step for removing dynamic route generation, as discussed in https://gitlab.com/gitlab-org/gitlab-ce/issues/44390.