"The general principle, whatever be its content, cannot be made a vehicle for rewriting the terms of a settlement which the parties themselves arrived at