US stocks close mixed after soft inflation report, but cap off 8th straight weekly gain