Pence says deal has been reached to fund government past month's end