Bayesian Mixture Modeling Approaches for Intermediate Variables and Causal Inference