the battle of hanover court house