function mergePolicy(configA, configB) {
  const newConfig = new Map(configA)
  Array.from(configB.entries()).forEach(([path, value]) => {
    addGlobalUsage(newConfig, path, value)
  })
  reduceToTopmostApiCalls(newConfig)
  return newConfig
}
Merge two global policy configs (as `Map`s) together

@param {Map<string, import('lavamoat-core').GlobalPolicyValue>} configA
@param {Map<string, import('lavamoat-core').GlobalPolicyValue>} configB
@returns