Semiparametric Estimation of Treatment Effects in Observational Studies with Heterogeneous Partial Interference