I don't feel that we should allow shooting mere thieves. If someone breaks into your garden shed, it is a stretch to say that this crime should carry a death penalty.
I'm not a fan of duty to retreat in defense of habitation (removing "castle doctrine"), however. The sort of people that break into occupied dwellings are not reasonable and don't mean well. A duty to attempt to run away makes that situation tactically difficult when the occupant is already at a tactical disadvantage, not knowing how many attackers there are, where they are, how they are armed, their intentions, etc. It's a well-intentioned law that unfortunately tends to punish the victims of crime either for defence without retreat or by giving criminals an advantage in a confrontation they instigated.