UN chief says world cannot afford more war, calls for 'maximum restraint'