Drop unnecessary cycle detection in Plan::AddTarget

We now detect and reject cycles in DependencyScan::RecomputeDirty before
Plan::AddTarget is called so we can assume DAG input to the Plan.
4 files changed