merge writes workdir contents using index checkout (with conflicts)