Re-initialize submodules whose history has been rewritten.