The company beat revenue expectations in consulting and infrastructure — but it didn’t deliver upside for its software segment.