reuse LockFile.GetAllDependenciesOf in Simplifier

sure, you want that in this PR or a seperate one?