From Lyceum Hall to Cold Harbor, Dorchester fought for Union cause