Compact Belief State Representation for Task Planning