Exploration via Planning for Information about the Optimal Trajectory