reuse LockFile.GetAllDependenciesOf in Simplifier

The behavior is still the same - ``GetAllDependenciesOf`` checks for strict mode, so with strict mode on, the references files will not be affected. The only change is that  there'll be no warning anymore