Lewis Hamilton came out behind title rival Max Verstappen after his pit stop as the Red Bull driver completed the undertake to move second.