Denny Hamlin edged teammate Chase Briscoe on Sunday to win NASCAR’s All-Star Race, which saw several crashes during the first two segments collect more than half the 36-car field.