Attorney General Eric H. Holder Jr. has defended the use of sting operations orchestrated by government informers, telling advocates for the civil rights of American Muslims on Friday night that the tactic is an “essential law enforcement tool in uncovering and preventing terror attacks.”