Morgan, Walmart reach settlement over accident