U.S. court rules dreadlock ban during hiring process is legal