Fix missing "promise kept" status for the last line in a file.

For the last line we shortcut out using MatchRegion, but previously
we did not set the promise status.

Fixes issue 2943.
Merge pull request #793 from kacfengine/match_region_bug

Fix missing "promise kept" status for the last line in a file.