A federal judge temporarily allowed Labor Department grant recipients to continue their diversity, equity and inclusion programs.