Samsung chairman resigns over tax scandal