US military killed nearly 500 civilians in 2017, Pentagon says