RBS admits to “failings” and accepts fine after US regulators uncover $523m in irregular transactions