John Wrenshall, Julia Dent and Ulysses S. Grant