Costco successfully defends its diversity policies as other US companies scale theirs back