A declaration filed by John Kerry and Madeleine Albright, former secretaries of state, and others said the ban would disrupt lives and cripple U.S. counterterrorism partnerships without making the nation safer.