Legal departments are expected to begin shelling out serious money on technology, while shedding generalist in-house lawyers as a way to cope with bigger workloads, hiring freezes, and more demands for efficiency and cost cutting, according to a forward-looking report from Gartner Inc.