Resilience of thermal conductance in defected graphene, silicene, and boron nitride nanoribbons