President Trump signed the legislation, named for Senator Lindsey Graham, at the White House but has broad leeway to waive its requirements.