unionRankCoverPair = ([leftA, rightA], [leftB, rightB]) => [
    minRank(compare, leftA, leftB),
    maxRank(compare, rightA, rightB),
  ]
@param {RankCover} a
@param {RankCover} b
@returns {RankCover}