Testing that restat doesn't clear edge with a depfile/deps missing
Fix restat logic to not clear edges with a depfile/deps missing