Apple agrees to pay workers $30 million to settle lawsuit over bag check policy