Expose core dump on index.diff from merge.

I was trying to get the conflicts, when I tried this.

Now I think this should not do what I want: in theory the diff should be empty.

But I think it is not acceptable to get core dumps on Ruby library?

Let's see if Travis reproduces.