IT firms recover, gear up to slow down attrition