History-of-Science Counterfactuals