Almost worse, “some” of the Aussie troopers did get through the German lines and out of the machine gun fire from in front of them. (Several hundreds of the thousands who attacked initially)
Then they were abandoned to the Germans over the next few days by the British command. True, the Brits faced communication and coordination problems with the own trenches, much less through to the front zones where the furthest forward soldiers were, but the Brit’s did abandon living men behind enemy lines, and the remaining Canadians will not forget.
I got the impression from the Wiki article that more men may have died after the initial assault than died in the assault for the reasons you described.