Exactness of Approximate MAP Inference in Continuous MRFs