Parser commits earlier for many literal forms.

Fixes idris-lang/Idris-dev#800.