The senate bill would have given 30 days for troops to be withdrawn from Syria, unless Congress approved their deployment.