std.math: update isIdentical and poly

std.internal.math.errorfunction: update isIdentical usage

update unittest

update nextUp unittest: added assert

update nextUp unittest: added second assert

update nextUp unittest: added third assert

optimizer check

std.math: 1. use scope import for poly template 2. isIdentical BUG 13457 workaround

BUG_13457 workaroud