The policy being rolled out in the firm’s North American cafes comes as it tries to boost flagging sales.