A Surrogate Objective Framework for Prediction+Optimization with Soft Constraints