Optimal Model Selection in Contextual Bandits with Many Classes via Offline Oracles