Harvard’s medical and law schools said they wouldn’t participate in the high-profile but controversial U.S. News & World Report college rankings.