The National Defense Authorization Act now heads to the desk of President Donald Trump, who is expected to sign it.