Facial technology software from sold by Amazon to some law enforcement agencies has shown disturbing inaccuracies.