reuse LockFile.GetAllDependenciesOf in Simplifier

yes that would be ok, but then the other call-sites need adjustments.