Legislation reflects Democrats' efforts to seek tighter oversight of Trump administration's military action.