Settlement in Sony Pictures hacking case gets judge's approval