### 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
{ 0x4E00, 0x9FFF, U"CJK Unified Ideographs" },
	{ 0xA000, 0xA48F, U"Yi Syllables" },
	{ 0xA490, 0xA4CF, U"Yi Radicals" },
	{ 0xA4D0, 0xA4FF, U"Lisu" },
	{ 0xA500, 0xA63F, U"Vai" },
	{ 0xA640, 0xA69F, U"Cyrillic Extended-B" },
	{ 0xA6A0, 0xA6FF, U"Bamum" },
	{ 0xA700, 0xA71F, U"Modifier Tone Letters" },
	{ 0xA720, 0xA7FF, U"Latin Extended-D" },
	{ 0xA800, 0xA82F, U"Syloti Nagri" },
	{ 0xA830, 0xA83F, U"Common Indic Number Forms" },
	{ 0xA840, 0xA87F, U"Phags-pa" },
	{ 0xA880, 0xA8DF, U"Saurashtra" },
	{ 0xA8E0, 0xA8FF, U"Devanagari Extended" },
	{ 0xA900, 0xA92F, U"Kayah Li" },
	{ 0xA930, 0xA95F, U"Rejang" },
	{ 0xA960, 0xA97F, U"Hangul Jamo Extended-A" },
	{ 0xA980, 0xA9DF, U"Javanese" },
	{ 0xA9E0, 0xA9FF, U"Myanmar Extended-B" },
	{ 0xAA00, 0xAA5F, U"Cham" },
	{ 0xAA60, 0xAA7F, U"Myanmar Extended-A" },
	{ 0xAA80, 0xAADF, U"Tai Viet" },
	{ 0xAAE0, 0xAAFF, U"Meetei Mayek Extensions" },
	{ 0xAB00, 0xAB2F, U"Ethiopic Extended-A" },
	{ 0xAB30, 0xAB6F, U"Latin Extended-E" },
	{ 0xAB70, 0xABBF, U"Cherokee Supplement" },
	{ 0xABC0, 0xABFF, U"Meetei Mayek" },
	{ 0xAC00, 0xD7AF, U"Hangul Syllables" },
	{ 0xD7B0, 0xD7FF, U"Hangul Jamo Extended-B" },