Introduce git_merge_base_many