It’s part of a trend of employers winding back the work-from-home flexibility that enabled most to keep operating through the pandemic in 2020 and 2021.