The final vote was 51 to 48, with all Democrats opposed and Arizona GOP Sen. John McCain absent while recovering from cancer treatment in his home state