The decision puts the nation’s largest police force among a small group of law enforcement agencies like those of Washington, D.C., and Riverside, Calif., as well as the United States Army, that allow members to have facial hair and wear turbans, often as a religious exception.