Connection of g − 2 μ , electroweak, dark matter, and collider constraints on 331 models