Josh Hazlewood is out of the competition for a place in the Australia pace attack after being struck down by a shin injury.