Quantum Counterfactuals and Locality