It's a bad level, IDK why they can shoot through walls. Just keep trying, I got through it by vibrodashing into the middle and waiting for the guards to funnel through the two entrances, while dashing around and staying near the corners since they couldn't shoot through those.