Why not reverse it? Refill the pets HP, increase the pet's max HP and give it a stone-skin effect equal to the HP of the master.