getAndRemoveFirstPassWithoutDependencies

Finds the first pass that has all its dependencies satisfied. This pass is then removed from the other passes dependencies and returned.

Return

The first pass that has no active dependencies on success. null otherwise.