Characterizing Subgoal Interactions for Planning