reuse LockFile.GetAllDependenciesOf in Simplifier

Maybe you could refactor GetAllDependenciesOf to return a Set instead of a HashSet. It think @mexx already proposed such a change