Seems you can't sue the USPTO for issuing bad patents according to this[1]. But I think you should be compensated for the cost of a lawsuit based on bad patents.
[1] http://patentlyo.com/patent/2012/12/suing-the-uspto-for-issu...
[1] http://patentlyo.com/patent/2012/12/suing-the-uspto-for-issu...