PetScan::extract_conditional_assignment: use pet_expr_from_index