Section 4. An executor, administrator, guardian, conservator or trustee may, after the notice required upon a petition by him for a license to sell real estate, be authorized by the probate court to release and discharge, upon such terms and conditions as may appear to be proper, a vested, contingent or possible right or interest, if such release or discharge appears to be for the benefit of the person or estate which he represents.