Apple to end employee gagging clauses after activist campaign