Republicans’ stumble on an immigration funding bill is raising questions about other parts of their legislative agenda