Investigate if code
https://github.com/mongodb/mongo/blob/v3.2.3/src/mongo/client/parallel.cpp#L402-L419
is still used.
If it is add a method to RemoteCommandTargeter that can propagate the result ReplicaSetMonitor::isKnownToHaveGoodPrimary() method to the caller and use it in the code instead.
Net result: no dependency on ReplicaSetMonitor