Conditioning in First-Order Knowledge Compilation and Lifted Probabilistic Inference