The UKSC resolves a patent dispute but stirs conflict between advocates of monopolistic rights and defenders of competition