A town centre building left empty for more than 20 years before being ravaged by flames has now been flattened ahead of a major redevelopment.