I never said it is standard tactic, but with 21st century weapons you can suppress the enemy so they have to take cover, resulting less casualties to attacker, meaning properly made bayonet charge may not result in any more casualties to attacker than standard assault. Bayonet itself is not used - but it never has been used like that, it is psychological weapon, meaning it is actually used in melee as much as it ever has been used. Rapid firing assault rifles can run out of ammunition faster than bolt action rifles of WW2, so at some point of the war melee weapons will be used. Warfare is so interesting, in a way everything has changed, but then again, nothing has changed, frontal assaults were not lethal only when machine guns were invented, they always were lethal, at early days of machine gun people just did not know how to counter it. When counter is found to new threat, everything returns to old school warfare where infantry advance supported by ranged weaponry, Roman legionaries would first throw their javelins like modern infantry would first suppress the enemy, and then advance to close quarters to actually take their positions.It's an isolated incident (and one occurring in special circumstances), hardly indicative of the state of things.
Sure real warfare is more complicated than that.