Farrell to replace Schmidt as Ireland coach after Rugby World Cup