ok, two points.
first, why should anything be required to be in compliance with the POTUS's anything? He has a say in whether it becomes law with the veto. It goes too far from what he supports, it gets vetoed, end of story.
second, that vote total tells me that it wasn't just D's voting it down.