President Obama’s aspiration of putting aside petty politics has met the necessity of winning legislative votes.