31 people killed in Iraq violence