It was an unusual outcome for a Trump-backed spending bill, one that raised eyebrows about unintended consequences from the GOP's sprint to the finish