To clean up redirects (C++ redirects aka CoreRedirects or engine redirects) run the resavepackages commandlet.

"Drive:\YourEngineVersionOrSource\Engine\Binaries\Win64\UnrealEditor-Cmd.exe" "Drive:\YourProjectPath\YourProject.uproject" -run=resavepackages

To make it faster you can also use -NoShaderCompile -ProjectOnly. To fix asset redirectors you can add -fixupredirects or use the content browser asset action.