Teddy barely gets NSW Blues home for Origin series win