Reduce memory pressure on frontend
Created by: ryanslade
This change updates the actionRepos method so that it doesn't request default branch details for every search result.
Instead, after fetching search results it does a further round of requests in batches of 100 requesting default branch details from the deduplicated list of repos matched.
Part of: https://github.com/sourcegraph/sourcegraph/issues/10540