A Decision-Theoretic Planner with Dynamic Compound Reconfiguration for Distributed Real-Time Applications