The policies have been used to penalize tenants with criminal backgrounds or brushes with police, which lawmakers said could be discriminatory.