pan/bi: Add and use bi_num_successors helper

Makes a few patterns easier to read.

Signed-off-by: Alyssa Rosenzweig <alyssa@collabora.com>
91 jobs for !17794 with bi/phi-2 in 13 seconds (queued for 5 seconds)
merge request