Remove custom expansion from LegalizeTypes when doing