The United States and Facebook owner Meta Platforms have settled a lawsuit over a housing advertising system that illegally discriminated…