Elsewhere in Kandahar province , United Nations and Afghan officials say militants killed an Afghan election worker in an ambush .