I'm not sure if his actions came from a guilty conscience, or the desire to do something right before his death. Chillingworth dies with nothing more to do, he has no one left to hate..... no scores left to settle. Perhaps he found redemption for his vengeance in bequeathing his property to Pearl. Indeed, he found it in his heart to claim her as his own child, perhaps in recognition that he owed a debt to the spirit of Dimmesdale and that Pearl was never a devil’s child. Pearl has the successful and happy life she would have had if she had been Chillingworth’s legitimate child.