As medical insurers and billing companies begin using machine-learning software, they can learn to game the underlying algorithms for profit.