Families separated at border under Trump reach settlement