fix kernel of ring map when it's zero

See https://github.com/Macaulay2/M2/pull/112/ and
https://github.com/Macaulay2/M2/issues/97
Merge branch 'master' of github.com:Macaulay2/M2