Recover Experimental Data with Selection Bias using Counterfactual Logic