The S&P 500 finished the week at its lowest close since mid-December and with its largest weekly loss in nearly five months.