pan/bi: Add bi_layout.c for clause layout helpers