Senate passes war-funds bill