reuse LockFile.GetAllDependenciesOf in Simplifier

I think I'll merge this one now since it's still an improvement