Luke Shaw has passed his medical ahead of completing a £30 million move from Southampton to Manchester United.