I don't think the entire usefulness of Bitcoin is related to staying anonymous as it's actually pretty hard to stay anonymous when using Bitcoin.
Also, wouldn't the government need to be operating a certain percentage of the Tor nodes to do effective traffic analysis?