reuse LockFile.GetAllDependenciesOf in Simplifier

Why does this got removed?
If it was intentional, we should update the documentation.