Fix for incorrect removal of extra day in Feb for non-leap years in NMDAY365MASK

Noticed a problem when generating rules for the last day of the month across a new year. Tracked down the problem to an off by one error when removing the extra day in Feb for non-leap years. Added tests.