India recovered from an early setback to beat Japan 4-1 and complete a historic hat-trick of Asian Champions Trophy titles.