(Minor spoiler) struggling can someone help?

while on trekking with paladin dance after the recon mission i know someone mentioned in post her that killing Pyro will make enclave ambush often so I cleared the hell away from there

guess what that same Pyro came in front of me and bam I had to kill him killing him was easy just.....just 10 seconds after enclave ambush me f this I can't even destroy thier soldier let alone enclave with full armour, do any have tips to escape this or I'm stuck forever? tips with how to overcome them will be beautiful

I swear this feels the same like legion gunning you down in fallout nv after you bee villified by them they appear Outta nowhere like this and one shot you was happy it didn't return her but well....