Ivan Petrovitch Tolstoy — Count, Russian politician