Core: use compound file by default for merged segments < 10% of index size

Change Elasticsearch to use Lucene's defaults, to reduce file descriptor count.

Closes #8934

Closes #8919