Mumbai, Aug 18 - Benchmark indices have erased all its loses and ended marginally higher after the minutes of Federal Reserve's July meeting sign