Blowing up Aunt Marge is not a deliberate act. Rather, it is an uncontrollable burst of magic in response to emotional stress. Harry doesn't use his wand to perform the magic. Had he used his wand to perform a specific hex, jinx or curse, he might have faced more punishment.