Merrimack CEO resigns, company cuts 22 percent of workforce