Yankee Gas plan nears agreement