Riyadh says breaking of diplomatic ties with Tehran will not hamper efforts to resolve two of world's most ruinous wars.