Barty levels Fed Cup semi for Australia