Combinatorial and algebraic perspectives on the marginal independence structure of Bayesian networks