Rankin County undersheriff resigns after 'goon squad' convictions