U.S. to settle lawsuit with migrant families separated under Trump