The Court of Chancery, upon the petition of an executor or administrator, shall give direction for the payment or disposal of the surplus.