The 157-year-old candy company is closing its corporate-commercial offices and laying off employees starting June 1.