The government said employers added 242,000 workers last month, highlighting the labor market’s steady gains. Unemployment remained at 4.9 percent.