An unending series of mass shootings in the U.S. has produced a familiar public response over the years: an outpouring of grief, followed by heated debate over gun laws, often ending in the failure of gun control advocates to win passage of even popular measures like background checks.