A Bundle Approach To Efficient MAP-Inference by Lagrangian Relaxation