### Godot version

31eccb5501

### System information

Windows 10

### Issue description

Some strange code fragments found in the code. I do not know if these are actual bugs.

1. Identical expression `array->get_typed_class_name() == native_type` on both sides of `&&` operator:
https://github.com/godotengine/godot/blob/31eccb5501ddc92b4a17fd6ae33dca4ad217702c/modules/gdscript/gdscript_vm.cpp#L777
2. Identical expression `array->get_typed_class_name() != native_type` on both sides of `||` operator:
https://github.com/godotengine/godot/blob/31eccb5501ddc92b4a17fd6ae33dca4ad217702c/modules/gdscript/gdscript_vm.cpp#L1255
https://github.com/godotengine/godot/blob/31eccb5501ddc92b4a17fd6ae33dca4ad217702c/modules/gdscript/gdscript_vm.cpp#L1255
3. Identical expression `pose.orientation.y != 0` on both sides of `||` operator (perhaps one of these should be `pose.orientation.z != 0`?):
https://github.com/godotengine/godot/blob/31eccb5501ddc92b4a17fd6ae33dca4ad217702c/modules/openxr/scene/openxr_hand.cpp#L219
4. Identical expression `a.lower` on both sides of `-` operator:
https://github.com/godotengine/godot/blob/31eccb5501ddc92b4a17fd6ae33dca4ad217702c/thirdparty/embree/kernels/bvh/bvh_node_obb_mb.h#L55
5. Identical expression `font_main.is_valid()` on both sides of `&&` operator:
https://github.com/godotengine/godot/blob/31eccb5501ddc92b4a17fd6ae33dca4ad217702c/editor/import/dynamic_font_import_settings.cpp#L861
6. Identical expression `bold_font.is_valid()` on both sides of `&&` operator:
7. https://github.com/godotengine/godot/blob/31eccb5501ddc92b4a17fd6ae33dca4ad217702c/editor/import/dynamic_font_import_settings.cpp#L1095
8. Variable `scansym_map[0x57]` assigned twice:
https://github.com/godotengine/godot/blob/31eccb5501ddc92b4a17fd6ae33dca4ad217702c/platform/windows/key_mapping_windows.cpp#L318-L319
9. 'if'-statement is equivalent to the 'else'-statement:
https://github.com/godotengine/godot/blob/31eccb5501ddc92b4a17fd6ae33dca4ad217702c/scene/resources/text_paragraph.cpp#L496-L500
https://github.com/godotengine/godot/blob/31eccb5501ddc92b4a17fd6ae33dca4ad217702c/scene/resources/text_paragraph.cpp#L646-L650
10. Shouldn't `sizeof(long_filename_buff)` be replaced with `file_info.size_filename` since `sizeof(long_filename_buff)` is the size of the pointer and not the buffer?:
https://github.com/godotengine/godot/blob/31eccb5501ddc92b4a17fd6ae33dca4ad217702c/modules/zip/zip_reader.cpp#L69-L70

### Steps to reproduce

N/A

### Minimal reproduction project

N/A
{ 0x1F030, 0x1F09F, U"Domino Tiles" },
	{ 0x1F0A0, 0x1F0FF, U"Playing Cards" },
	{ 0x1F100, 0x1F1FF, U"Enclosed Alphanumeric Supplement" },
	{ 0x1F200, 0x1F2FF, U"Enclosed Ideographic Supplement" },
	{ 0x1F300, 0x1F5FF, U"Miscellaneous Symbols and Pictographs" },
	{ 0x1F600, 0x1F64F, U"Emoticons" },
	{ 0x1F650, 0x1F67F, U"Ornamental Dingbats" },
	{ 0x1F680, 0x1F6FF, U"Transport and Map Symbols" },
	{ 0x1F700, 0x1F77F, U"Alchemical Symbols" },
	{ 0x1F780, 0x1F7FF, U"Geometric Shapes Extended" },
	{ 0x1F800, 0x1F8FF, U"Supplemental Arrows-C" },
	{ 0x1F900, 0x1F9FF, U"Supplemental Symbols and Pictographs" },
	{ 0x1FA00, 0x1FA6F, U"Chess Symbols" },
	{ 0x1FA70, 0x1FAFF, U"Symbols and Pictographs Extended-A" },
	{ 0x1FB00, 0x1FBFF, U"Symbols for Legacy Computing" },
	{ 0x20000, 0x2A6DF, U"CJK Unified Ideographs Extension B" },
	{ 0x2A700, 0x2B73F, U"CJK Unified Ideographs Extension C" },
	{ 0x2B740, 0x2B81F, U"CJK Unified Ideographs Extension D" },
	{ 0x2B820, 0x2CEAF, U"CJK Unified Ideographs Extension E" },
	{ 0x2CEB0, 0x2EBEF, U"CJK Unified Ideographs Extension F" },
	{ 0x2F800, 0x2FA1F, U"CJK Compatibility Ideographs Supplement" },
	{ 0x30000, 0x3134F, U"CJK Unified Ideographs Extension G" },
	{ 0x31350, 0x323AF, U"CJK Unified Ideographs Extension H" },
	
	
	{ 0xF0000, 0xFFFFF, U"Supplementary Private Use Area-A" },
	{ 0x100000, 0x10FFFF, U"Supplementary Private Use Area-B" },
	{ 0x10FFFF, 0x10FFFF, String() }
};
void DynamicFontImportSettings::_add_glyph_range_item(int32_t p_start, int32_t p_end, const String &p_name) {