Sam Prendergast kicked 17 points as the Six Nations favourites avoided an upset