rustc: remove ty::LegacyDtor

This patch removes ty::LegacyDtor, which is no longer used.