Robert Barnwell SMITH, Congress, SC (1800-1876)