Merged revision(s) 1689411 from lucene/dev/branches/branch_5x: LUCENE-6658: Fix IndexUpgrader to also upgrade indexes without any segments