Katie Hill resigned in the face of an ethics investigation into her relationship with a campaign staffer that has sparked a debate about double standards.