For decades, the cremated remains of more than two dozen American Civil War veterans languished in storage facilities.