Multi-task Representation Learning for Pure Exploration in Linear Bandits