Accelrys lays off 50 as it restates earnings