Max the Beagle dies after lunging at a charging bear to save his owner during a walk in their yard