core/run: support checking a topic with multiple bases
When updating a release branch to a new branch point, this can cause a significant amount of work to re-check all of the commits which have already been merged into the branch. There's nothing much to be done about these commits anyways, so allow checking a topic while excluding commits from multiple bases at the same time.
Based on !216 (merged).
Needs tests.