How did the Union troops reinforce their positions at Gettysburg?