Iraq’s military announced a nationwide curfew in response to the violence which has wounded hundreds of people in clashes with security forces.