Adjusted diff-ignoring-module-line-numbers for chpl Version with a "-".
Merge pull request #939 from vasslitvinov/fix-.bad-mismatch-in--alist-error

Adjusted diff-ignoring-module-line-numbers for chpl Version with a '-'

This script was introduced and extended recently to make the
comparison against .bad insensitive to error/warning line numbers and
chpl Version.

This PR extends/fixes this script to handle chpl Version when it
contains a '-'. This is needed for nightly testing where
the version is printed as e.g. "chpl Version 1.10.0.-999".