The behavior you are experiencing is a known issue with the RutOS 7.24.3 firmware version. You can bypass this by using either of the following workarounds:
CLI / RMS: Change the admin password directly via CLI or RMS.
WebUI: Temporarily enable Password History, change your admin password, and then disable Password History again: