Australia on brink of semis after thumping Pakistan