US Senate passes $3.5T spending plan