US president tells troops in North Carolina he is proud to see them back home after nearly nine years fighting in Iraq.