Senate votes to approve spending measure that clears the way for Obamacare funding