pan/bi: Move bi_flip_ports out of port assignment