Congress passes bill to keep government open