LUCENE-845: fixed a case that was allowing same segment name to be used twice when a concurrent merge was aborted in between