Juventus midfielder Arturo Vidal has undergone surgery on his right knee - but is expected to be fit for the World Cup.