how was gettysburg the turning point in the war