That's what you said. But you didn't explain how that's supposed to be, and you are wrong.
"There was no murder committed here."
So you seem to think.
It ought to be self-explanatory. The Constitution is the supreme law of the land; aside from the Second Amendment’s outlining the right to keep and bear arms, the Fourth Amendment guaranteeing the right of people “to be secure in their persons, houses, papers and effects” is what applies. Tying a person’s hands by state law with respect to accusing them of “murder(ing)” a deliberate intruder who enters in the middle of the night violates the Fourth Amendment and such laws and rulings are unconstitutional.