US stocks decline following choppy week of trading