Merck says it has restored most of its manufacturing hit by cyberattack