The banking official quit and three subordinates were fired after an electronic theft from Bangladesh’s account at the Federal Reserve Bank of New York.