No next friend or guardian ad litem can enter into any compromise or agreement with reference to the suit without the leave of the Court expressly recorded in the proceedings which should not be granted until the Court has applied its mind to the compromise or agreement in order to ascertain, as far as possible, that it is really for the benefit...