Budget surplus narrows in June amid oil revenue dispute