I don't think anyone has argued that all intellectual properly laws should be abolished.
Software patents are merely one form of IP. Code can be copyrighted. Physical things can be patented.
What's truly underhanded about many of these software patents suits is that persons were allowed to patent ideas and defend those patents, even if a working implementation, let alone production model, is never produced.