Stock market erases early gains after IMF economic report