Eight dead in Baghdad as Gates arrives in Iraq