I'd tend to regard this as a failure of the Republican Party rather than Trump. Sure, it shows that his skills as a negotiator come up short in politics, but that's because the people he is dealing with are apparently incapable of recognising that "all or nothing" is a position you just can't take in politics if you want to get things done. If reports are to be believed even Trump recognised that this time.
So the end product of seven years of screaming about how bad Obamacare is (for reasons that still aren't clear to me are anything to do with Obama, rather the deals he had to do to get any form of healthcare Act through himself), the Republicans finally have control of everything. And then realise that this means it's up to them to work out what the new law should be, and that for some reason none of them gave a thought to that in the last seven years. Or, at least, they never bothered to work on their proposal together.
The Republican Party is broken. This, perhaps more than anything else, is why Trump is president. Who knows, maybe next time American voters will recognise that?