The cosmic merger rate of stellar black hole binaries from the Illustris simulation