Costco is defending its DEI practices amid calls for a boycott, offering a lesson for other brands facing similar pressure.