In a steady parade of companies retreating from their diversity efforts, Costco Wholesale is standing out by holding fast.