While cops face a daily struggle to get street violence under control, Boston police and advocates say the city has had success in preventing domestic homicides.Gang violence is behind most of the city’s 628 murders in the past 10 years, with domestic homicides accounting for just 23 murders, or 3.6 percent of that number.