Implement mapKeysMonotonic.
Fix mapKeys test not being run.
Implement mapKeysWith and rewrite mapKeys.