Well, you've got to understand the history of this law. This is all a result of court cases. A man resisted an unlawful police entry and was charged with battery on a police officer and resisting law enforcement.
This worked its way up the system and last year, the The Indiana Supreme Court ruled that people cannot legally resist police who illegally enter their home. That ruling overturned centuries of common law.
That ruling was thrown out by the Indiana House and Senate by newly codifying what had been, as I said, centuries of common law.
This is not about shooting cops (although that is one way to resist, and probably not a good way).