Defending champion Simona Halep was taken to three sets by Poland Magda Linette on a day when Novak Djokovic and Naomi Osaka, the top seeds, both went through