BAGHDAD -- Defense Secretary Robert M. Gates landed here Monday declaring that the mission in Iraq had now transformed into one of expanding upon recent security gains , even as the number of American troops decreased .