Language Model Planning from an Information Theoretic Perspective