UN chief urges avoidance of 'all-out war' in Lebanon