Endo Health unit AMS to pay $54.5M in settlement