As judges weigh the limits of medical exceptions, Idaho’s abortion ban is being tested — in courts, hospitals and patients’ lives