Congress passes bill to temporarily avoid shutdown