Yes, but they are demonstrably not rational individuals.
Since you can't even grasp the concept of who initiated these events, please forgive us if your concept of what is "moral" is equally suspect.
The question of who initiated the incident isn't a matter of dispute. The burglars/intruders obviously initiated the incident.
The issue is: how does a moral person respond to the provocation?
They shoot them and kill them. If you don't, then you are allowing them to victimize other people later.
Even under MN law, until the Dem legislature/Governor change it to match UK's idiotic laws, you have no duty to retreat from within your home.
If they run, you can't chase 'em. If they are outside, you can't shoot at 'em. Once they break in, you are within your Rights to kill them.
Advisable too as MN has a long history of people defending themselves and being sued into the poor house via civil suites from the criminal.