As far as I can discern, Cruz didn't sign any such loyalty pledge. And unless Trump had it stated IN WRITING that the pledge became invalid if he was treated "unfairly," and also had IN WRITING what constitutes "unfair," then he had ZERO business signing it at all.
It was a sham them and it is a sham now.
Handwriting, Wall.