The resolution would have limited the president's ability to unilaterally take military action.