Fix 1.7.x test failure

Backport of partial fix for #3656.

Loosen some test requirements for np.dot. Because the 'F' order arrays are no longer copied, they no longer are likely to produce the same as the copied 'C' order arrays did due to different order of carrying out the arithmetic.