SCOTUS paves way for Texas to pay opponents legal fees