He's guilty as sin. If you had a intruder, the first thing you do is wake the wife/kids/familywithout exception to see if they were OK.
Not rummage around in the dark for your gun next to the bed without noticing your spouse is not there! Or even trying to wake or speak to her.
No one deliberately confronts the thief attacker. (unless you intended to kill them form the offset) You defend yourself if you are being attacked, or from the threat of attack. Not from someone who is the other side of a closed door, no matter who they are. A single warning shot is possibly defending yourself. Shooting someone 4 times through a closed bathroom door is murder.
With luck he'll do the honorable thing and blow his own brains out.