The yen swung between gains and losses after its intervention-driven rally stalled, spurring speculation that Japanese authorities could step into the market again.