When an executor or administrator has paid a legacy under the order of a Court, he is entitled to call upon the legatee to refund in the event of the assets proving insufficient to pay all the legacies.