Senate committee reaches deal to avoid government shutdown