Things like this make it hard to ever really abolish patents, either a lot of companies would be out a lot of money or the government would have to reimburse they a lot of money.
Also, keep in mind that lawyers tend to be much more politically connected than programmers.