The Swiss bank’s settlement is the final case that prosecutors brought over misconduct that lead up to the global financial crisis.