Complex sentence: The Israeli army said that they would not protect the children from Israeli settlers if they are accompanied by internationals on their way to and from school and offered to escort the children safely themselves, if the internationals left.
Split into simpler sentences: The Israeli army said that they would not protect the children from Israeli settlers if they are accompanied by internationals on their way to and from school. The IDF offered to escort the children safely themselves, if the internationals left.