US stocks end mostly lower as April inflation at highest since 2023