Hundreds of employees will be laid off as Edgewell closes its Schick razor manufacturing facility in Milford, according to the state.