Home Office drops 'racist' algorithm from visa decisions