UN's Ban says time to find exit from Syrian 'madness'