Ashleigh Barty joins Bernard Tomic in US Open second round