A Ukrainian airliner crashed shortly after take-off from Tehran early on Wednesday, bursting into flames and killing all 176 people on board.