Oil prices retreat after factory output falls in Japan