Mitchell Starc returned with figures of 7/58 as Australia bowled out England for 172 in the first innings of the first Ashes Test in Perth.