In spite of his victory, confederate president jefferson davis decided to replace general johnston with _______ on july 18.