While there was already a bipartisan push to reduce the government’s real estate footprint, the mass cancellations blindsided an industry known for its stability.