A UK rule aims to stop officials from prejudicing voters. The US should do the same