Two senators have struck a bipartisan deal on expanding background checks to more firearms purchases. The agreement could build support for President Barack Obama’s drive to curb gun violence.