ICE considered sending undercover agents to investigate groups suspected of recruiting noncitizens to register to vote.