Rewrites *.csproj files so that for each external reference at most once project has CopyLocal=true for it