US stocks end mostly lower, weighed down by industrials