Joan Ryan, a Labour member of parliament, has become the eighth lawmaker to resign from Britain’s main opposition party.