A federal judge did not sign off on an agreement that would have settled a lawsuit filed against TD Ameritrade over a major breach announced in 2007.