Judge approves $40M settlement in Skechers case