US to settle class-action suit on family separation