Merck agrees to resolve Keytruda patent infringement litigation