Optimize run_quality calls

Leverages recent changes in diff-cover to reduce number of diff-quality runs
Merge pull request #5732 from edx/benp/optimize-run-quality

Optimize run_quality calls