Gov. William F. Weld, crumbling before political pressure, signed a bill making the tollhouse cookie Massachusetts' official chocolate chip cookie. Weld said he would introduce a new measure to make Nabisco's Fig Newton the state's official fruit cookie. The tollhouse cookie was invented in 1930 at the Toll House Restaurant in Whitman, Mass., by a woman who had run out of cocoa while baking chocolate cookies. Whitman students helped draft the bill making the cookie an official state symbol. The Legislature, after much debate, passed the measure earlier this month.