US stocks have closed mostly lower as investors digested a benign inflation report.