Tractable Bayesian Social Learning on Trees