Erika Jayne won't be heading to trial in her monster $25 million legal war tied to ex-husband Tom Girardi ... because the whole thing was settled at the last minute.