Supreme Court expands gun rights, with nation divided