BUG: fix bug in stats.rv_continuous.expect.  Closes gh-2622.