Soaring tax revenue has shrunk the federal budget deficit to half the size it was expected to be so far this financial year.