A UN agreement brought an international force of peacekeepers to occupy Beirut and guarantee security