Iraq elects Kurdish politician Nizar Amidi as president amid war fallout