High court upholds 'back of the line' policy for some visa applicants