Improving Image-Based Precision Medicine with Uncertainty-Aware Causal Models