Domino’s stock rallies as a big same-store sales beat and resumption of growth in deliveries offset an earnings miss.