STY: Use `.astype`'s `copy` kwarg in `np.tri`

Replace an explicit type check with setting `copy=False` in call to `astype`.