Amid waves of layoffs continuing to hit some of the nation’s largest employers, the unemployment rate unexpectedly ticked up last month despite the labor market gaining significantly more jobs than expected—adding to mixed messages about the economy as the Federal Reserve decides whether it should once again ramp up its aggressive campaign to tame rising prices.