EU urges restraint in Middle East as prolonged war would harm global stability