A Replanning Algorithm for Decision Theoretic Hierarchical Planning: Principles and Empirical Evaluation