Job cuts in July were unexpected, revealing a weakening labor market as the unemployment rate fell to 4.1%.