Remove checknan option to median and update docs

Fixes #8598, closes #8605, ref #6820