Apple and Samsung reduce hostilities and number of patent infringement claims ahead of trial