update dependencies for the identity and prelude changes.

Update dependencies, deleted orphan instances, made compatible with the current compiler's prelude. Please merge whoever can as this is a blocker for me!