Democratic officials and some advocate groups have said that sending ICE to polling places would violate federal law.