If any person die having mortgaged any real or personal estate, and shall not have devised the same, or provided for any redemption thereof by will, the court, upon the application of any person interested, may order the personal representative to redeem the estate out of the assets, if it should appear to the satisfaction of the court that such redemption would be beneficial to the estate and not injurious to creditors.