Judge grants class-action status to MacBook butterfly-keyboard suit