Sugrue, James, active 1808-1844, Irish politician