Delete them from

Descr_model_battle
Export_descr_unit
Export_descr_unit_enums

and
export_units ( in the 'text' folder )

That, plus making sure you have removed them from the building unit lists and made sure there are no units of this type available to start with in the campaign.