Optimistic Linear Programming gives Logarithmic Regret for Irreducible MDPs