Remove duplicate properties during store migration from 2.1 to 2.2

What about injecting the <code>SchemaIndexProvider</code> in construction rather than getting it from the <code>dependencyResolver</code> here?