Yes, the government has trapped them - they had no choice to support this largely.
It basically confirms Brexit will start at this point - the battle for what that means - i.e. single market and immigration is yet to be had.
So does this make the current Supreme Court case moot? Now that the Parliament has approved it, why is it necessary to continue with the case?