The U.S. added a decent 147,000 jobs in June that pointed to resilience in the labor market, but the pace of hiring has slowed since last year as businesses grapple with trade wars and an immigration crackdown.