> instead of humans with their own families and community ties
This is an age-old problem with armies and has a similarly age-old solution: just send soldiers from one community to police other communities. For example, during the Tienanmen Square Massacre, some Beijing-based units refused to fire on protesters, so units from further away were called in instead.