Trader Joe's, with a store in Hyannis, is pulling 400,000 cases of fried rice from shelves over concerns about glass shards.