The number of Americans filing for benefits fell last week, suggesting labor market resilience even though hiring slowed sharply in May.