Stocks are slumping after labor data showed that hiring across the U.S. was weaker than expected in July and investors assessed the impact of tariffs.