So, since the purps were out of the shed and leaving the premises in this scenario, the shooter would not be preventing or terminating an invasion of his curtilage.Remember, the IC says you can use deadly force (paraphrasing) to stop an invasion or attack on your home or curtilage.
The shooting would then fall under protection of property AND subsection a.
Uh..Oh!