500 workers laid off at Mylan Pharmaceuticals