A Japanese pharmaceutical company that laid off 360 workers in January is set to lay off another 223 in Marlborough later this year.