New York City amended restrictions on transporting guns outside the home, a move that may prompt the Supreme Court to dismiss a gun rights challenge.