N.S. workers reach tentative deal