The Justice and Labor departments have reached separate settlements with Facebook requiring the company to pay up to $14.3 million over claims that it discriminated against U.S. workers by purposely reserving certain positions for temporary visa holders in 2018 and 2019.