A train which came off its tracks is finally being removed more than two months after derailing at a Kent depot.