Rounding out a tough and frustrating year, President Barack Obama signed a bipartisan budget deal Thursday easing spending cuts and a defense bill cracking down on sexual assault in the military, as the president and Congress began pivoting to the midterm election year ahead.