This is mainly due to machining, the circular cutouts allowing the gasket to be milled with a larger diameter endmill. If you want a square cutout on a regular CNC without such dogbones in the corners, you need an endmill with lower radius than the corner radius of the LEDs which is very close to 0 and not feasible.
The big advantage of protecting the LED corners is just a beneficial side effect of manufacturing limitations ^^