Changed signatures of sitedef_parser_reduce() and sitedef_parser_reduce_list().

Replaced state parameter with two params, the monitor struct and a boolean out
param to set in the case of error.