The Supreme Court says it will take up a challenge to Chicago's ban on handguns, opening the way for a ruling that could set off a vigorous new campaign to roll back state and local gun controls across the nation.