Parliament votes to end oil subsidies