Improved Treatment of Host-Galaxy Correlations in Cosmological Analyses With Type Ia Supernovae — arXiv2