Everton sign Andre Gomes permanently from Barcelona