The “It Ends With Us” co-stars shocked the world by reaching a settlement agreement Monday, just two weeks before going to trial.