Vale reported earnings that were something of a pleasant surprise, though not everything came up roses.