Channing Tatum and Jenna Dewan have agreed a settlement for their divorce and avoided a trial in December.