What legislation was passed to discourage the country from getting involved in a foreign war