reuse LockFile.GetAllDependenciesOf in Simplifier

Then I'll prohibit that in next PR