Burglar dies during attempted robbery of a gas station