At least 18 Iraqis have died in recent days in clashes between protesters and the security forces during street demonstrations that caught the authorities by surprise.