[Git][ghc/ghc][wip/TTG-No-Orphans] 19 commits: Adjust releaseCapability_ precondition to allow cap->running_task == NULL