The “pledge” was intended for Trump, no one else. He wasn’t expected to agree to it; he was supposed to refuse and then be hounded out of the race due to not being a serious Republican. And, he certainly wasn’t expected to amass the most delegates by far, exceeding the 1237 threshold.
You’re right of course. That was my point, after all.