Australia has retained the Ashes with two tests to spare after Mitchell Starc took three of the last four wickets.