Dozens of people demonstrated against deal plan for Catalan separatists with 30 police and others hurt in violence.