An experimental policing tool is gaining traction across the country — and there are major civil-liberties concerns