Assert on unparsed flag in flag expansion.

When strict mode is enabled, closes #5.