771. If, owing to circumstances unforeseeable at the time of the acceptance of the legacy, the execution of a charge becomes impossible or too burdensome for the heir or the legatee by particular title, the court, after hearing the interested persons, may revoke it or change it, taking account of the value of the legacy, the intention of the testator and the circumstances.