If, either before or after the service of the defence in probate proceedings, the parties to the proceedings agree to a compromise, the court may order the trial of the proceedings on affidavit evidence.