Thousands of former slaves ended up fighting on the Union side, nearly 200,000 in total across the South