My personal opinion is that you don't make threats unless you are willing to follow through.
The fact that he posted that tweet at the 11th hour seems to suggest Trump realized his base was up in arms over this bill and he panicked.