Palantir Technologies has entered into a consent decree to resolve charges it discriminated against Asians in hiring for engineering jobs.