SEC chairman Jay Clayton will be leaving at the end of this year, six months ahead of his planned departure.