The New York Mets owners agreed to pay up to $162 million in a settlement to Bernard Madoff’s fraud victims, in a deal to recoup losses from fake profit payouts.