The US labor market cooled in July, keeping a soft landing in sight