UN chief urges restraint after US kills Iranian general