Samsung has been fighting Apple in court for years, but it sounds like it's getting near to letting it all go. The South Korean electronics maker has agreed to pay Cupertino $548 million — or a little over half the original $1 billion amount the cou…