Low oil prices played a part in a major move by Congress voting to end the 40-year-old ban on exporting American crude oil.