Two dozens of the nation’s largest law firms said they don’t want graduates who discriminate or harass their Jewish peers.