remove std.math import

Reason: insnan is going to be deprecated in std.math.
Merge pull request #4090 from 9il/isnan

remove std.math import