Trump-backed spending bill fails, Congress rushes to avoid government shutdown