Smaller than expected sales decline boosts shares as chipmaker tries to recover from misjudging demand