The Development of Counterfactual Reasoning in Belief Revision