Nadal out but Spain still beat Australia