Ill. high court: Emanuel can run for Chicago mayor