Indonesia’s central bank unexpectedly raised its benchmark interest rate in an off-cycle decision, seeking to shore up the rupiah after a selloff rattled the nation’s currency and bonds.