Paul Di Resta and Anthony Hamilton have agreed to an out-of-court settlement as a resolution to their bitter legal feud.