Human rights groups say the amendment to Israel's counterterrorism law is tantamount to thought policing.