Apple’s recent pullback may have bigger implications for a stock market already struggling to break out of a trading range.