When you add double your bonus, you apply it, and then apply it again. A double proficiency bonus of +2 is +4 (2+2), not 6 (2+4). Mind you, these guards have a +1 to the resist; Nez is still succeeding.