Rafael Nadal's hopes of winning a second Australian Open title remain intact after he defeated Gael Monfils in four sets at the Rod Laver Arena in Melbourne.