Naomi Osaka saves 2 match points, survives thriller against Garbine Muguruza for place in Aussie quarters