Senate approves funding bill by voice vote to avert shutdown