31 Iraqi pilgrims die in stampede