Revert "[ATR-28845] Protect against trigger navigation graphs with over uint16_t::max nodes"
This reverts merge request !74434 (merged)
This MR is no longer needed now that !74812 (merged) was finalised & merged. The new limit is 32 bits which is plenty.