Flextronics to Lay off 300