Overload equality operator for KeyBinding.