Aust stocks erase all gains since 2012