Tesla has lately been losing its fight to keep selling cars directly to customers, but it just negotiated an important truce. The EV maker has reached a tentative deal with Ohio that lets it conduct direct sales in the state through a maximum of…