By the time it was over, the Standard and Poor's 500 index had lost 5.8 percent for the week, its worst weekly slump since 2011. That leaves the main benchmark for U.S. investments 7.7 percent below its all-time high — within shooting range of what traders call a "correction," a 10 percent drop from a peak.