It is the first major foreign policy legislation approved by Congress under Trump, who has struggled to advance his domestic agenda despite Republicans controlling the Senate and House of Representatives.