Political parties and movements agree to end violence following a meeting called by country's top Islamic scholar.