Attacks kill 31 in Iraq as Sadr supporters demand US exit