Immigration and Customs Enforcement's plan to give officers gloves that deliver painful electric shocks has faced criticism.