Boeing has reached a last-minute settlement to avoid a civil trial in a deadly Ethiopian Airlines plane crash.