Brazil international Richarlison is set for a medical at Tottenham after Spurs agree a deal to sign the forward from Everton.