check just the return for nan in scalar var subtraction and fix docs
check just the return for nan in scalar var subtraction and fix docs

stan-dev/math,stan-dev/math,stan-dev/math,stan-dev/math,stan-dev/math,stan-dev/math,stan-dev/math,stan-dev/math,stan-dev/math