The biggest patent battle of the modern technology world has finally come to an end after seven years. Apple Inc. and Samsung Electronics Co. told a judge Wednesday they’d resolved the first filed but last remaining of the legal disputes that once spanned four continents.