Apple to pay retail workers $30 million over security bag checks