The San Diego County supervisor’s resignation means taxpayers could end up paying $6 million for a special election.