The state already needs to keep track of companies for tax purposes, so it seems strange that it couldn't simply void any trademark owned by a company that died.
Then define point of death as a company not paying taxes for two years and not declaring the company to be in some special tax-exempt state.