The iPhone maker projected gross margins well ahead of Wall Street estimates, reassuring investors that it’s successfully managing the surge in memory prices