New orders for U.S. factory goods recorded their largest increase in nine months in July as demand increased broadly.