what civil war general became governor of new jersey