The House and Senate are responsible for legislation... not the President.
So, he got his prescription drugs... If he gets the votes he needs in the Senate, he can go back and get the reform. Ronald Reagan called that good politics.
Then he should have just called it a day and let the bill die. Instead, he let the camel's nose into the fiscal tent.