Immunity of information encoded in decoherence-free subspaces to particle loss