All the hard work Bernard Tomic had done to get back to Australian Open qualifying came undone in Melbourne.