That is avoidable by giving in to some Democrat demands, although I'm not saying they should do it.
It's just that you can't say that the other side wants a shutdown when you're intentionally trying to force them into something that you know they don't want. It's like saying "Buy my 30 year old Honda Civic for $35,000. You won't? You must not want to get to work."
When "Take a shit deal or it's your fault," fails, it's pretty much always the fault of the person offering the shit deal. At this level, both sides know what the other side wants and can/can't budge on without losing face and when you try to force the other side to lose face and they refuse, that's your fault because you misread your opponent.
The GOP has 51 votes. They put together a deal that swings 9 Dem voters, it's done. Instead they've chosen a deal that will give them political points with their base by requiring the Dems to take a deal that will them political points with their base. They would never accept those terms if the shoe was on the other foot so they must really believe that they can win the media war because they know that deal had no chance in hell of passing. And that means that shutdown is their fault - for putting up a deal they knew wouldn't be accepted and gambling on winning the media scrum afterwards.