President Trump threatened Tuesday to halt all federal funds for any educational institute that allows “illegal protests” — and vowed that agitators will be unmasked and imprisoned.