Value Directed Exploration in Multi-Armed Bandits with Structured Priors