(By the way, I agree with pretty much everything in the grandparent comment.)
If i had said, "if you remove all NASA spending from the budget, the total budget remains the same out to something like 3 or 4 significant figures," then we would need 3 sig figs to see any impact by NASA's budget (3.803E12 - 1.78E10 = 3.785E12 ~ 3.78 ~ 3.8 ~ 4).
I think my ultimate point that NASA's budget is pretty inconsequential to either the budget or the yearly deficit stands since it is only 0.468% of the budget and 1.97% of the deficit.
Break down the budget categories enough, and you can say the exact same thing about anything. "If you remove tank spending from the budget, the total deficit remains the same out to something like 3 or 4 significant figures." Guess we should keep buying tanks, too.
I'm not breaking down categories nearly as deep you had to dive to get to your example of tanks. Looking at NASA is like looking at the entire operating budget of the Army, the FBI, or the NSA.
This isn't to say that there aren't inefficiencies at NASA that can be corrected. I'm sure there are, but since NASA's entire operating budget is orders of magnitude smaller than the deficit even the most optimistic optimization will have basically no effect on the problem.
The actual long-term costs of $1 billion military spending are far more than those of $1 billion of NASA spending (and let's not even get into the economic reward of said spending).
FYI, if you remove all NASA spending from the budget, the total deficit remains the same out to something like 3 or 4 significant figures.