A judge approves AT&T’s settlement of $177 million that will be paid to victims of a couple of data breaches.