Make Regexp::Simplify() return a null pointer when stopped early.

Change-Id: I19e447e6c7dec34201299a12104e72bf7e792a9e
Reviewed-on: https://code-review.googlesource.com/c/re2/+/57570
Reviewed-by: Paul Wankadia <junyer@google.com>
2 files changed