In a case that could have easily turned into a major class-action lawsuit against banking giant JPMorgan, the plaintiff agreed to a private settlement.