Theory of intervalley Coulomb interactions in monolayer transition-metal dichalcogenides