added support for models with invariant sites

there was a parsing error when implementing models using proportion of
invariant sites (e.g., --model=GTRGAMMAI) in versions 0.16 and lower.