Harvard, Penn and U.S.C. were among the universities and colleges that issued advisories in anticipation of possible travel bans.