Payton Pritchard gave the Celtics a crucial nine-point buffer after beating the buzzer from half-court in the third quarter