LUCENE-1624: don't write a new empty commit when create=true and autoCommit=false on creating IndexWriter, unless dir has no index yet