Lower sales for multiple medicines and a whopping charge for a big cancer drug collaboration drove Merck & Co. to a third-quarter