This is from memory from a +8 4 speed to 5 speed conversion as well as a subsequent gearbox swap.

The speedo drive at the gearbox end has a plate with a single bolt. Remove the bolt and plate and the speedo drive cable. The speedo drive gear simply pulls out and unless it's disintegrated, you should leave nothing behind.

Hope that helps.