A Texas appeals court said the attorney general relied on insufficient evidence to win a clinic shutdown order