Meta to alter algorithm for housing ads in the US to avoid a lawsuit