Congress is playing havoc with your investments. Here’s how to beat Washington’s game.