As corporate giants roll back their DEI programs, many companies are holding firm to their commitments, seeing political pressure as the lesser risk.