Check preconditions for fromDistinctAscList

Check preconditions for fromDistinctAscList to prevent 

http://justinleitgeb.com/haskell/mind-bending-behavior-for-deserialization-in-haskell/

and the security exploits that will surely follow from it.