Block Stability for MAP Inference