Australia took eight wickets during a ravenous first session on day four of the first Test against Sri Lanka in Galle.