31 civilians wounded in Afghan parliament attack