Toast Inc. TOST shares rallied in the extended session Tuesday after the restaurant-industry software provider reported a beat-and-raise quarter. Toast shares surged as much as 8% after hours, following a 0.6% rise in the regular session to close at $19.46. The company reported a first-quarter loss of $81 million, or 16 cents a share, compared with a loss of $23 million, or 20 cents a share, in the year-ago period. The company did not provide adjusted results on a per-share basis. Revenue rose to $819 million from $535 million in the year-ago quarter. Analysts surveyed by FactSet had forecast an unadjusted loss of 17…