The 47-52 vote was the fourth time this year that the Senate has voted to cede its war powers to the president in a conflict that Democrats say is illegal and unjustified.