Remove orphan gates that cannot be answered or bypassed
Source:R/decisions.R
bg_repair_orphan_gates.RdDrops pending graph gates that have no gate spec — the unanswerable state
an interrupted bg_add_gate() from an older version could leave behind —
and commits the cleaned graph, so recovery no longer requires
hand-editing graph.json. Gates on edges with retired or disabled
endpoints are left alone, matching what bg_plan() and bg_status()
report as anomalies. A project without orphan gates is left untouched.