Court seeks compromise to preserve preventive health insurance mandates