The measure, which has passed the Senate and now goes to President Trump, is the first significant land conservation bill in years.