A Ukrainian airliner was on fire immediately before it crashed southwest of Tehran killing all 176 on board, according to an initial report by Iranian investigators.