Polls closed late on Friday in Iran's snap election to decide who out of four candidates will succeed the late President Ebrahim Raisi after his death in a helicopter crash last month.