If you think stock prices are irrational, Flash Boys proves why you’re right. And the craziness makes perfect sense.