Australia have lost seven wickets in a little less than a session as Sri Lanka ripped through the batting order with the new ball early on day three in Galle.