WASHINGTON (Reuters) - A gauge of U.S. factory activity slid from a near three-year high in July amid a slowdown in new orders and consumer spending barely rose in the prior month, setting the stage for a moderate economic expansion in the third quarter.