LUCENE-6825: don't NPE when trying to merge a segment that has no documents that indexed dimensional values