House approves short-term spending bill to avoid government shutdown