UN chief urges Libyans to avoid violence, maintain stability